// 主题色
$--color-primary: #6F62E6 !default;
// 主题文本颜色
$--menu-primary: #9D8FE7 !default;
// 成功颜色
$--color-success: #67c23a !default;
// 警告颜色
$--color-warning: #e6a23c !default;
// 危险颜色
$--color-danger: #f56c6c !default;
// 默认颜色
$--color-info: #909399 !default;
// 文本显示初始化颜色
$-color-text: #606266;
// 表格头部背景
$-table-th-bg: #F9F9F9;
// 初始背景色
$-init-bg: #f9f9f9;

// 白色色
$--color-white: #fff;

// 色彩等级出李
$--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default;
/* 53a8ff */
$--color-primary-light-2: mix($--color-white, $--color-primary, 20%) !default;
/* 66b1ff */
$--color-primary-light-3: mix($--color-white, $--color-primary, 30%) !default;
/* 79bbff */
$--color-primary-light-4: mix($--color-white, $--color-primary, 40%) !default;
/* 8cc5ff */
$--color-primary-light-5: mix($--color-white, $--color-primary, 50%) !default;
/* a0cfff */
$--color-primary-light-6: mix($--color-white, $--color-primary, 60%) !default;
/* b3d8ff */
$--color-primary-light-7: mix($--color-white, $--color-primary, 70%) !default;
/* c6e2ff */
$--color-primary-light-8: mix($--color-white, $--color-primary, 80%) !default;
/* d9ecff */
$--color-primary-light-9: mix($--color-white, $--color-primary, 90%) !default;
/* ecf5ff */

/**按钮主题色处理**/
.el-button:focus, .el-button:hover {
  color: $--color-primary;
}

.el-button:active {
  color: $--color-primary-light-8;
  border-color: $--color-primary-light-8;
}

.el-button.is-plain:focus, .el-button.is-plain:hover {
  background: #FFF;
  border-color: $--color-primary;
  color: $--color-primary
}

.el-button.is-active, .el-button.is-plain:active {
  color: $--color-primary;
  border-color: $--color-primary
}

.el-button--primary {
  background-color: $--color-primary;
  border-color: $--color-primary
}

.el-button--primary:focus, .el-button--primary:hover, .el-button--primary.is-active, .el-button--primary:active {
  background: $--color-primary-light-3;
  border-color: $--color-primary-light-3;
  color: #FFF
}

.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover {
  color: #FFF;
  background-color: $--color-primary-light-1;
  border-color: $--color-primary-light-1
}

.el-button--primary.is-plain {
  color: $--color-primary;
  background: $--color-white;
  border-color: $--color-primary-light-1
}

.el-button--primary.is-plain:focus, .el-button--primary.is-plain:hover {
  background: $--color-primary;
  border-color: $--color-primary;
  color: #FFF
}

.el-button--primary.is-plain:active {
  background: $--color-primary-light-9;
  border-color: $--color-primary-light-9;
  color: #FFF;
  outline: 0
}

.el-button--primary.is-plain.is-disabled, .el-button--primary.is-plain.is-disabled:active, .el-button--primary.is-plain.is-disabled:focus, .el-button--primary.is-plain.is-disabled:hover {
  color: $--color-primary-light-1;
}

.el-button--text:focus, .el-button--text:hover {
  color: $--color-primary-light-5;
  border-color: transparent;
  background-color: transparent
}

.el-button--text:active {
  color: $--color-primary-light-9;
  background-color: transparent
}

.el-button--mini > span {
  font-size: 12px;
  zoom: .9;
  letter-spacing: 2px;
}

.el-button--mini, .el-button--mini.is-round {
  padding: 5px 16px;
}

.primary-color {
  color: $--color-primary;
}

.primary-bg {
  background-color: $--color-primary;
}

.success-color {
  color: $--color-success;
}

.success-bg {
  background-color: $--color-success;
}

.danger-color {
  color: $--color-danger;
}

.danger-bg {
  background-color: $--color-danger;
}

.warning-color {
  color: $--color-warning;
}

.warning-bg {
  background-color: $--color-warning;
}

// 表格处理
.el-table th {
  background-color: $-table-th-bg;
  color: #000;
  font-weight: 400;
}

.el-table td {
  font-size: 13px;
}

.el-card {
  color: $-color-text;
  border: 0;
}

.is-plain-default{
  background: #FFF;
  border-color: $--color-primary;
  color: $--color-primary
}
